import { _decorator, Component} from 'cc';
const { ccclass, property } = _decorator;

@ccclass("baseViewCmpt")
export class baseViewCmpt extends Component {
    protected onLoad(): void {
        console.log(`[BaseComponent] 开始初始化组件: ${this.name}`);
        this.setupBasicEvents();
        console.log(`[BaseComponent] 基础初始化完成`);
    }
    
    // 父类的基础功能
    private setupBasicEvents(): void {
        console.log(`[BaseComponent] 绑定基础事件监听`);
    }
}